<?php 
/**
 * This simple class render super-puper mega menu
 *
 * @package default
 * @author  Flop
 */
class MainmenuWidget extends CWidget {
    public function run(){
        $model=new LoginForm;
        $reguser=new User();
        $this->render('mainmenu',array('model'=>$model,'reguser'=>$reguser));
    }
} // END
?>